﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BS.MVC
{
    public static class StringHelper
    {
        public static string[] SplitByCota(this string text)
        {
            return text.Split(',');
        }

        public static string[] SplitByPipe(this string text)
        {
            return text.Split('|');
        }

        public static string[] SplitByNewLine(this string text)
        {
            return text.Split(Environment.NewLine.ToCharArray());
        }

    }
}
